package com.tianzehua.jvm.classloader;

/**
 * 类加载器测试
 * @author tianzehua
 * @date 2019/04/02
 */
public class MyTest14 {
    public static void main(String[] args) throws  Exception{
        MyTest13 myTest13 = new MyTest13("loader1");

        Class<?> clazz = myTest13.loadClass("com.tianzehua.jvm.classloader.MySample");
        System.out.println(clazz.hashCode());

        Object object = clazz.newInstance();
    }
}
